package com.flyco.modules.sms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 问卷调查填写表
 * @Author: flyco
 * @Date:   2021-05-25
 * @Version: V1.0
 */
@Data
@TableName("sms_questionnaire_apply")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sms_questionnaire_apply对象", description="问卷调查填写表")
public class SmsQuestionnaireApply {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**门店编号*/
	@Excel(name = "门店编号", width = 15)
    @ApiModelProperty(value = "门店编号")
	private Integer storeId;
	/**调查类型，订单：order*/
	@Excel(name = "调查类型，订单：order", width = 15)
    @ApiModelProperty(value = "调查类型，订单：order")
	private String type;
	/**来源单号*/
	@Excel(name = "来源单号", width = 15)
    @ApiModelProperty(value = "来源单号")
	private String sourceId;
	/**memberId*/
	@Excel(name = "memberId", width = 15)
    @ApiModelProperty(value = "memberId")
	private Long memberId;
	/**调查表id*/
	@Excel(name = "调查表id", width = 15)
    @ApiModelProperty(value = "调查表id")
	private Long infoId;
	/**状态：0 默认*/
	@Excel(name = "状态：0 默认", width = 15)
    @ApiModelProperty(value = "状态：0 默认")
	private Integer status;
	/**申请时间*/
	@Excel(name = "申请时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请时间")
	private Date createTime;
}
